package com.maiji.cloud.microservice;

import com.maiji.cloud.entities.login.Label;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "MAIJICLOUD-APPLOGIN")
public interface LabelService {

    @GetMapping("/label/selectOne")
    Label selectOne(@RequestParam(name = "source") String source, @RequestParam(name = "name") String name);

}
